package net.vanchu.mortgagecalculator.mortgage.help;

import android.os.Bundle;
import android.view.View;
import android.widget.ImageButton;

import com.dtspread.apps.houseloan.R;
import com.dtspread.libs.h5.H5Activity;
import com.dtspread.libs.h5.H5LoadingView;
import com.dtspread.libs.util.StatusBarUtil;

/**
 * Created by grant on 16-12-28.
 */

public class MortgageHelpActivity extends H5Activity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        _titleLayout.setBackgroundColor(getResources().getColor(R.color.bg_pop_win_header));
        StatusBarUtil.setColor(this, getResources().getColor(R.color.bg_pop_win_header));
    }

    @Override
    protected void setupRightImageButton(ImageButton rightImageButton) {
        rightImageButton.setVisibility(View.VISIBLE);
    }

    @Override
    protected void setupLoadingView(H5LoadingView loadingView) {
        loadingView.setLoadingStr("正在加载中");
    }
}